package cn.peach.hrm.dto;

import cn.peach.hrm.domain.Employee;
import cn.peach.hrm.domain.Login;
import cn.peach.hrm.domain.Tenant;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

@Data
public class TenantRegisterDto {
    @Valid
    private Employee employee;
    @Valid
    private Tenant tenant;
    @Valid
    private Login login;
    @NotNull(message = "请选择套餐")
    private Long mealId;
}
